package com.example.demo.entity;

import java.io.Serializable;
import java.util.Date;

public class TaskLog implements Serializable {
    private Integer taskLogId;

    private Integer taskLogUserId;

    private String taskLogContent;

    private Integer taskLogTaskId;

    private Date taskLogDate;

    private static final long serialVersionUID = 1L;

    public Integer getTaskLogId() {
        return taskLogId;
    }

    public void setTaskLogId(Integer taskLogId) {
        this.taskLogId = taskLogId;
    }

    public Integer getTaskLogUserId() {
        return taskLogUserId;
    }

    public void setTaskLogUserId(Integer taskLogUserId) {
        this.taskLogUserId = taskLogUserId;
    }

    public String getTaskLogContent() {
        return taskLogContent;
    }

    public void setTaskLogContent(String taskLogContent) {
        this.taskLogContent = taskLogContent == null ? null : taskLogContent.trim();
    }

    public Integer getTaskLogTaskId() {
        return taskLogTaskId;
    }

    public void setTaskLogTaskId(Integer taskLogTaskId) {
        this.taskLogTaskId = taskLogTaskId;
    }

    public Date getTaskLogDate() {
        return taskLogDate;
    }

    public void setTaskLogDate(Date taskLogDate) {
        this.taskLogDate = taskLogDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", taskLogId=").append(taskLogId);
        sb.append(", taskLogUserId=").append(taskLogUserId);
        sb.append(", taskLogContent=").append(taskLogContent);
        sb.append(", taskLogTaskId=").append(taskLogTaskId);
        sb.append(", taskLogDate=").append(taskLogDate);
        sb.append("]");
        return sb.toString();
    }
}